package cn.lizheng.pojo;

//和数据库表admininfo对应java的实体类
public class Admininfo {
    private int adminid;
    private String username;
    private String password;
    private String picurl;

    public Admininfo(int adminid, String username, String password) {
        this.adminid = adminid;
        this.username = username;
        this.password = password;
    }

    public  int getAdminid() {
        return adminid;
    }

    public void setAdminid(int adminid) {
        this.adminid = adminid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPicurl() {
        return picurl;
    }

    public void setPicurl(String picurl) {
        this.picurl = picurl;
    }

    public Admininfo(int adminid, String username, String password, String picurl) {
        this.adminid = adminid;
        this.username = username;
        this.password = password;
        this.picurl = picurl;
    }

    public Admininfo() {
    }

    @Override
    public String toString() {
        return "Admininfo{" +
                "adminid=" + adminid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", picurl='" + picurl + '\'' +
                '}';
    }
}

